import type { App } from 'vue'

/** 挂载到vue原型链上Prototype */
export default function setupVuePrototype(app: App) {
  app.config.globalProperties.$config =
    process.env.NODE_ENV === 'production' ? window.ApiProd : window.ApiDev
  window.app = app
}
